package com.xlh.param.courseTest;

import com.xlh.pojo.courseTest.ExperimentStatisticsTaskPass;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.NotNull;

/**
 * @author sy
 */
@Data
@Accessors(chain = true)
public class ExperimentRunJudgeParam {


    /**
     * 任务类型
     */
    public final static Integer TASK_TYPE = 1;

    /**
     * 步骤类型
     */
    public final static Integer STEP_TYPE = 2;

    /**
     * 实验类型
     */
    @NotNull(message = "实验类型不能为空")
    @ApiModelProperty(value = "实验类型")
    private Integer type;

    /**
     * 环境ID
     */
    @NotNull(message = "环境ID不能为空")
    @ApiModelProperty(value = "环境ID")
    private Long contextId;

    /**
     * 容器ID
     */
    @NotNull(message = "容器ID不能为空")
    @ApiModelProperty(value = "容器ID")
    private Long containerId;

    /**
     * 课程ID
     */
    @NotNull(message = "课程ID不能为空")
    @ApiModelProperty(value = "课程ID")
    private Long courseId;

    /**
     * 章节ID
     */
    @NotNull(message = "章节ID不能为空")
    @ApiModelProperty(value = "章节ID")
    private Long chapterId;

    /**
     * 班级ID
     */
    @NotNull(message = "班级ID不能为空")
    @ApiModelProperty(value = "班级ID")
    private Long classId;


    /**
     * 任务ID
     */
    @NotNull(message = "任务ID不能为空")
    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    /**
     * 步骤ID
     */
    @ApiModelProperty(value = "步骤ID")
    private Long stepId;


}
